package com.jc.subject.domin.service;

import com.jc.subject.domin.entity.SubjectCategoryBO;
import com.sun.org.apache.xpath.internal.operations.Bool;

import java.util.List;

/**
 * @Description:
 * @Author: ASL_ly
 * @Package: com.jc.subject.domin.service
 * @Project: jc-club
 * @Date: 2024/10/21  19:28
 */
public interface SubjectCategoryDomainService {

    /**
     * 新增分类
     * @param subjectCategoryBO
     */
    void add(SubjectCategoryBO subjectCategoryBO);

    /**
     * 查询分类
     * @return
     */
    List<SubjectCategoryBO> queryCategory(SubjectCategoryBO subjectCategoryBO);

    /**
     * 修改分类
     * @param subjectCategoryBO
     */
    Boolean update(SubjectCategoryBO subjectCategoryBO);

    /**
     * 删除分类
     * @param subjectCategoryBO
     * @return
     */
    Boolean delete(SubjectCategoryBO subjectCategoryBO);

    /**
     * 查询分类及标签
     * @param subjectCategoryBO
     * @return
     */
    List<SubjectCategoryBO> queryCategoryAndLabel(SubjectCategoryBO subjectCategoryBO);
}
